<?php


namespace app\api\controller;




use app\common\baota\Bt;

class Test extends Base
{
    public function bt(){

        // 修改成自己的宝塔接口和Api密钥
        $bt = new Bt('http://qqyun.itbbn.top:8888','iROv9GjhoxNZbRY30X6J78IPBvewXKGr');
        header('Content-type: application/json');
        $this->success($bt->GetSystemTotal());
    }

}
